package com.czxy.user.feign;

import com.czxy.domain.TbEnterprise;
import com.czxy.domain.TbPhoto;
import com.czxy.findjob.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "enterprise-service",path = "/enterprise")
public interface EnterpriseFeign {
    @GetMapping("/findById/{id}")
    public BaseResult<TbEnterprise> findById(@PathVariable("id") Integer id);
    @GetMapping("/banByUserId/{id}")
    public BaseResult banByUserId(@PathVariable("id") Integer id);
    @GetMapping("/unBanByUserId/{id}")
    public BaseResult unBanByUserId(@PathVariable("id") Integer id);
    @GetMapping("/findCount")
    public BaseResult<Integer> findCount();
}
